/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.entity;

import org.hibernate.validator.constraints.Length;

import com.yuhanginfo.common.persistence.DataEntity;

/**
 * 帮助中心Entity
 * @author lvls
 * @version 2017-09-27
 */
public class Help extends DataEntity<Help> {
	
	private static final long serialVersionUID = 1L;
	private Integer classesType;		// 所属栏目类型
	private String title;		// 标题
	private String content;		// 内容
	private Integer sort;		// 排序
	
	public Help() {
		super();
	}

	public Help(String id){
		super(id);
	}

	public Integer getClassesType() {
		return classesType;
	}

	public void setClassesType(Integer classesType) {
		this.classesType = classesType;
	}
	
	@Length(min=0, max=50, message="标题长度必须介于 0 和 50 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
}